// 数据监测
import request from '@/utils/request'

// 左侧树
export function getLeft() {
    return request({
        url: '/system/farm/tree',
        method: 'get'
    })
}

// 右侧列表
export function rightList(id) {
    return request({
        url: '/system/farm/tree-failByParentIdAndChildId?parentId='+id,
        method: 'post'
    })
}

// 右侧列表子级
export function rightListZ(id,) {
    return request({
        url: '/system/farm/tree-failByParentIdAndChildId?childId='+id,
        method: 'post'
    })
}
